package modele;

/**
 *Une implementation de While
 */
public abstract class AbstractWhile {

    /**
     * while
     */
    public void While() {
        while (!hasnext()) {
            next();
        }
    }

    public abstract boolean hasnext();

    public abstract void next();
}


